import request from "@/utils/request.js";

export function post_reply_list(data) {
    return request({
        API_URL: '/users/index/post_reply_list',
        data
    });
}

export function post_list(data) {
    return request({
        API_URL: '/users/index/post_list',
        data
    });
}

export function post_like(data) {
    return request({
        API_URL: '/users/index/post_like',
        data
    });
}

export function post_info(data) {
    return request({
        API_URL: '/users/index/post_info',
        data
    });
}

export function post_reply(data) {
    return request({
        API_URL: '/users/index/post_reply',
        data
    });
}

export function del_post(data) {
    return request({
        API_URL: '/users/personal/del_post',
        data
    });
}

export function del_post_reply(data) {
    return request({
        API_URL: '/users/personal/del_post_reply',
        data
    });
}

//会员帖子列表
export function user_post_list(data) {
    return request({
        API_URL: '/users/personal/post_list',
        data
    });
}

//个人主页信息
export function users_home(data) {
    return request({
        API_URL: '/users/index/users_home',
        data
    });
}